﻿using System.Collections.Generic;

namespace Hx.ADSyncPlatform.Infrastructure.Tree
{
    public interface ITreeNode
    {
        object Id { get; set; }
        object ParentId { get; set; }

        string Name { get; set; }
        List<ITreeNode> Children { get; set; }

        int Depth { get; set; }
        void AddChildren(ITreeNode node);
    }
}
